import Vue from 'vue'
import App from './App.vue'
import router from './router'
import jsPlumb from 'jsplumb'
import Axios from 'axios'
import Echarts from 'echarts'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/reset.css'
import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/iconfont.css'
Vue.prototype.$jsPlumb = jsPlumb.jsPlumb
Vue.prototype.$ajax = Axios
Vue.prototype.$echarts = Echarts
Axios.defaults.baseURL = 'http://localhost:8001'
Axios.defaults.headers.post['Content-Type'] = 'application/json'
Vue.config.productionTip = false
Vue.use(ElementUI)

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
